<html>
<head>
    <title>Addama API Key</title>
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"/>
    <link rel="stylesheet" type="text/css" href="https://informatics-apps.systemsbiology.net/ext-js-3.4.0/resources/css/ext-all.css">
    <link rel="stylesheet" type="text/css" href="https://informatics-apps.systemsbiology.net/ext-js-3.4.0/examples/shared/examples.css"/>
    <script type="text/javascript" src="https://informatics-apps.systemsbiology.net/ext-js-3.4.0/adapter/ext/ext-base.js"></script>
    <script type="text/javascript" src="https://informatics-apps.systemsbiology.net/ext-js-3.4.0/ext-all.js"></script>

    <script type="text/javascript" src="/js/utils.js"></script>
    <script type="text/javascript" src="/js/topbar.js"></script>
    <script type="text/javascript" src="/js/widgets.js"></script>
    <link rel="stylesheet" type="text/css" href="/css/stylesheet.css"/>

    <script type="text/javascript">
        Ext.onReady(function() {
            new org.systemsbiology.addama.js.TopBar({
                contentEl: "container_topbar",
                listeners: {
                    whoami: function(json) {
                        if (json.isAdmin) {
                            new org.systemsbiology.addama.js.topbar.RegistryKeysWindow();
                        }
                    }
                }
            });

            new org.systemsbiology.addama.js.widgets.Viewport({
                topbarEl: "container_topbar",
                activateAjaxMonitor: true,
                tabs: [
                    { contentEl: "container_main" }
                ]
            });
        });
    </script>
</head>
<body>
<div id="container_topbar" class="topbar"></div>
<div id="container_main" class="apikeys" style="width: 500px; height: 120px;">
    <p/>
    <h4>API Keys are managed by administrators through App Engine Console</h4>
    <p/>
    <h4><a href="/addama/apikeys/file" target="_blank">Download API Key File</a></h4>
    <div class='apikeys_caution'>Do NOT share these keys.  Treat the same as a password.</div>
</div>
</body>
</html>